package com.pp.admin.common.client.service;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.pp.admin.common.client.beans.ListContents;
import com.pp.admin.common.client.beans.PageInfo;
import com.pp.admin.common.client.beans.User;
import com.pp.admin.common.client.exceptions.InvalidDomain;

@RemoteServiceRelativePath("user")
public interface UserService extends RemoteService {

	ListContents listBaseUsersByDomainID(String domainID, PageInfo pageInfo)
			throws InvalidDomain;

	ListContents listBaseUsers(PageInfo pageInfo);

	void deleteUsers(List<String> listOfIDs);

	void disableUsers(List<String> listOfIDs);

	void activateUsers(List<String> listOfIDs);

	void save(User user);

	void update(User user);

	User getUserByID(String userID);
}
